package com.cloud.desAnnotation;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DesController {

    @GetMapping("testDes")
    public TestPersion testDes() {
        TestPersion testPersion = new TestPersion();
        testPersion.setPhone("18811481664");
        testPersion.setCard("111111");
        testPersion.setName("zhangsan");
        return testPersion;
    }
}
